<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
    <title>{module module='Site' component='SiteTitle'}</title>
    <base id="base" href="{$sBaseUrl}" />
    <meta name="keywords" content="{$sKeywords}" />
    <meta name="description" content="{$sDescr}" />
    <meta name="robots" content="index,follow" />
    <meta http-equiv="imagetoolbar" content="no" /> 
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    {$sPathTransJs}
    <script language="JavaScript" type="text/javascript" src="design/js/overlib.js"></script>
    <script language="JavaScript" type="text/javascript" src="design/js/main.js"></script>
    <script language="JavaScript" type="text/javascript" src="design/js/common.js"></script>
    <script language="JavaScript" type="text/javascript" src="design/js/validator.js"></script>
    <link rel="stylesheet" type="text/css" href="{$sStylePath}style.css" />
    <script language="javascript" type="text/javascript" src="design/tinymce/tiny_mce.js"></script>
    <script language="javascript" type="text/javascript" src="design/js/tinymce.js"></script>
	<script type="text/javascript" src="design/js/tabcontent.js">

	/***********************************************
	* Tab Content script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
	* This notice MUST stay intact for legal use
	* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
	***********************************************/
	
	</script>
    {if !$bRemoveIm}
    {if !$bIm && $aCurrUser}
    <link rel="stylesheet" type="text/css" href="design/css/messenger_check.css" />
    <script type="text/javascript" src="design/js/checkmess.js"></script>
    {/if}
    {/if}
    {if !$bRemoveChat}
    {$xajax}
    {/if}
    <script language="javascript" type="text/javascript">
        var displayIt = "True";
        var SciptHome = "{$sBase}";
        customTinyMCE_init('maintext');
    </script>
    {$plugin_header}
</head>
<body>
{if !$bRemoveChat}
 {if $bHideHeader}
 <div id="div_chat"></div>
 {/if}
{/if}
 <div id="outer">
 <table id="top" cellpadding="0" cellspacing="0" border="0">
 <tr>
 	<td> 		<table style="width:100%;border:1px solid #D6D6D6;" cellpadding="0" cellspacing="2">
 		<tr>
 			<td style="width:30%;vertical-align:middle;text-align:center;" >
 				<table width="100%"  border="0" cellspacing="0" cellpadding="3" style="border:1px solid #D6D6D6;" >
  <tr>
    <td>{if $sLogoFile}<a href="{url link='public'}">{img src="`$sStylePath``$sLogoFile`" alt=""}</a>{/if}</td>
  </tr>
</table>

 			</td>
 			<td style="width:70%;vertical-align:middle;text-align:center;" class="top2">
			<table cellspacing="3" cellpadding="0" style="width:100%;border:1px solid #D6D6D6;"><tr><td>
			<table width="100%"  border="0" cellspacing="0" cellpadding="3" style="background:url(design/images/menu.jpg) repeat-x;" >
  <tr>
    <td style="width:100%;text-align:left;"><b>{if !$bShutDown}{module module='Messenger' component='Alert' oUser=$oCurrUser}{/if}</b></td>
{if $aCurrUser}<td>
			<span style="font-size:8pt;color:#95BF01;"><b>&raquo;&nbsp;<a href="{url link='public.logout'}" style="text-decoration:none;font-weight:bold;">LOGOUT</a>&nbsp;</b>
			</td>{/if}
  </tr>
</table></td></tr></table>

  				<table border="0" cellpadding="3" cellspacing="3" width="100%" >
                  <tr>
                    <td width="20%" style="border:1px solid #D6D6D6;" ><div align="center"><a href="javascript:void(0);" onclick="popUp2('{if $bRemoveChat}{$sChatUrl}{else}{url link=public.account.lchat}{/if}','800','435','yes','100','100');" style="text-decoration:none;font-weight:bold;">
			  <img src="design/images/chat.jpg" alt="CHAT"></a></div></td>
                    <td width="20%" style="border:1px solid #D6D6D6;" ><div align="center"><a href="javascript:void(0);" onclick="popUp2('{if $bRemoveIm}{$sImUrl}{else}{url link=public.account.chat}{/if}','730','500','yes','200','100');" style="text-decoration:none;font-weight:bold;">
			  <img src="design/images/im.jpg" alt="IM LIST"></a></div></td>
                    <td width="20%" style="border:1px solid #D6D6D6;" ><div align="center"><a href="javascript:void(0);" onclick="bookmark('{$sUrl}','{module module='Site' component='SiteTitle' escape='true'}');" style="text-decoration:none;font-weight:bold;">
			  <img src="design/images/fav.jpg" alt="BOOKMARK"></a></div></td>
                    <td width="20%" style="border:1px solid #D6D6D6;" ><div align="center"><a href="javascript:void(0);" onclick="popUp2('{url link='public.popup.htmlguide'}','500','500','yes','200','100');"style="text-decoration:none;font-weight:bold;">
			  <img src="design/images/info.jpg" alt="INFO"></a></div></td>                    
                  </tr>
              </table>
 			</td>
 		</tr>
 		</table>
	</td>
 </tr>
 </table>
 {* START main menu *}
 <div id="outer2">
 <table style="width:100%;margin-left:auto;margin-right:auto;background:url(design/images/menuh.jpg) repeat-x" cellpadding="0" cellspacing="0">
 <tr>
	{$srcMenu}
	    {if !empty($plugin_main_links) }       
        {section name=I loop=$plugin_main_links}
		<td class="menu" onclick="javascript:window.location.href='{url link="`$plugin_main_links[I].link`"}';" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">        
        <a href="{url link="`$plugin_main_links[I].link`"}">{$plugin_main_links[I].name}</a> 
        </td>
        {/section}        
        {/if}	
 </tr>
 </table>
 </div>
 {* END main menu *}
{* START content *}
<table style="width:100%;" cellpadding="0" cellspacing="0">
    <tr>
        <td><div id="msalert"></div></td>
    </tr>
	<tr>
		<td style="vertical-align:top;" id="main">{include file=$sTplName}
		{if !empty($plugin_content)}{$plugin_content}{/if}
		</td>
	</tr>
</table>			
{* END content *}	
{include file="public/_footer.html"}
</div>
{if $bRemoveBrand}
<!-- ##################################### 

POWERED BY PHPFOX 

 A phpFoX Limited Company 

 You may not remove this copyright as agreed by our Terms & Conditions. 

             - www.phpfox.com 

 ##################################### //-->
<div style="text-align:center;margin:4px;">

<div style="padding:8px;font-size:8pt;margin-left:auto;margin-right:auto;width:400px;">
Powered By <a href="http://www.phpfox.com/" onclick="window.open(this.href,'_blank');return false;" style="">phpFoX</a> Version {$sPhpFoxVersion}
</div>
</div>
 <!-- ##################################### 


     1. phpFoX and all of its source code and files are protected by Copyright Laws. 

     2. The license for phpFoX permits you to install this software on a single domain (.com, .org, .net, etc.). 

     3. You may also not remove the "Powered By phpFoX" screen which shows the copyright information and credits for phpFoX. 



 ##################################### //-->
{/if}
<div id="p_status" style="position:absolute; z-index:900;"></div>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:10000;"></div>

{if !$bRemoveIm}
{if $bHideHeader}
{if !$bIm && $aCurrUser && !$bShutDown}<script language="javascript" type="text/javascript">setTimeout("startChat();", 500);</script>{/if}
{/if}
{/if}
</body>
</html>
